<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			function Person(name,age,job,address){
				this.name = name;
				this.age = age;
				this.job = job;
				this.address = address;
				this.Showname = function(){
					document.write("姓名:"+this.name+"<br />");
				}
				this.Showage = function(){
					document.write("年龄:"+this.age+"<br />");
				}
				this.Showjob = function(){
					document.write("工作:"+this.job+"<br />");
				}
				this.Showaddress = function(){
					document.write("住址:"+this.address+"<br />");
				}
			}
			var Person1 = new Person("汪静","21","学生","黄山");
			Person1.Showname();
			Person1.Showage();
			Person1.Showjob();
			Person1.Showaddress();
		</script>
	</body>
</html>
